package com.shasselclub.api.v1.service;

import com.shasselclub.api.v1.valid.MobileForm;
import com.shasselclub.common.constant.ResultModel;
import org.springframework.validation.BindingResult;

import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;

public interface GetCodeService {
      boolean getCode(@Valid MobileForm loginRequest, BindingResult bindingResult, HttpServletRequest request, ResultModel resultModel);
      boolean validCode(String mobile,String vcode,ResultModel resultModel);
     }

